package com.example.dbsample.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("operate_log_record")
public class OperateLogRecordEntity extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("operator_um")
    private String operatorUm;

    @TableField("ori_content")
    private String oriContent;

    @TableField("change_content")
    private String changeContent;

    @TableField("status")
    private String status;

    @TableField("operate_desc")
    private String operateDesc;

    @TableField("operate_start_time")
    private String operateStartTime;

    @TableField("operate_end_time")
    private String operateEndTime;

    @TableField("operate_type")
    private String operateType;

    @TableField("module")
    private String module;

    // 中文名称
    @TableField("field_name")
    private String fieldName;

    @ApiModelProperty("创建时间")
    @TableField("created_date")
    private String createdDate;
}
